package com.spica.platform.base.encrypt.encryptbody.exception;

import com.spica.platform.base.exception.errorcode.IErrorCode;
import com.spica.platform.base.exception.instance.AbstractBaseException;

/**
 * <p>加密方式未找到或未定义异常</p>
 */
public class EncryptMethodNotFoundException extends AbstractBaseException {

    public EncryptMethodNotFoundException() {
        super(EncryptRtnCodEnum.ENHANCE_ENCRYPT_UNDEFINED_ERROR);
    }

    public EncryptMethodNotFoundException(IErrorCode errorCode, String message) {
        super(errorCode, message);
    }
}
